package io.renren.sf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author tongxiaowu
 * @email 15755337992@163.com
 * @date 2021-03-24 21:51:18
 */
@Data
@Accessors(chain = true)
@TableName("hz_teacher")
public class TeacherEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(type = IdType.ID_WORKER)
    private Long id;
    /**
     * 校区id
     */
	@ApiModelProperty(value = "校区id")
    private Long campusId;
    /**
     * 手机号/账号
     */
	@ApiModelProperty(value = "账号前缀")
    private String mobile;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码（选填）")
    private String password;
    /**
     * 0关闭1开启
     */
    private Integer macStatus;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 到期时间
     */
	@ApiModelProperty(value = "到期时间")
    private Date stoptime;
    /**
     * 用户类型：0体验账号1激活账号2系统生成账号
     */
    private Integer userType;
    /**
     * 启用状态：0禁用1启用
     */
    private Integer status;
	/**
	 * 起始数值
	 */
	@ApiModelProperty(value = "起始数值")
	@TableField(exist = false)
	private Integer start;
	/**
	 * 数量
	 */
	@ApiModelProperty(value = "数量")
    @TableField(exist = false)
    private Integer num;
    /**
     * 所属校区名称
     */
    @TableField(exist = false)
    private String campusName;
    /**
     * 课本角色id list
     */
	@ApiModelProperty(value = "课本角色ids")
    @TableField(exist = false)
    List<Long> bookRoleIds;
}
